package com.lin.springcloud.dao;

import com.lin.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Created by Lin Weihong
 * @Time on 2021/11/20 20:31
 */
@Mapper
public interface PaymentDao {
    //读
    public Payment getPaymentById(Long id);

    //写
    public int create(Payment payment);
}
